.smap-note-editor {
  background-color: #fff;
  border-radius: 4px;
  display: flex !important;
  flex-direction: column;

  &-header {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 0 10px;

    .enable-drag {
      flex: 1;
      cursor: move;
      height: 100%;
      display: flex;
      align-items: center;
    }
  }

  &-body {
    flex: 1;
    overflow: auto;
    display: flex;
  }

  .enable-drag {
    cursor: move;
  }

  .smap-color {
    width: 16px;
    height: 16px;
    cursor: pointer;
    border-radius: 4px;
  }
}

.smap-tiptap {
  flex: 1;
  overflow: auto;

  .tiptap {
    height: 100%;
    overflow: auto;
    outline: none;
    padding: 0 10px;
  }

  p.is-empty::before {
    color: rgb(55 53 47 / 50%);
    content: attr(data-placeholder);
    float: left;
    height: 0;
    pointer-events: none;
  }
}

.smap-bubble-menu {
  box-shadow: rgb(15 15 15 / 5%) 0 0 0 1px, rgb(15 15 15 / 10%) 0 3px 6px, rgb(15 15 15 / 20%) 0 9px 24px;
  background-color: #fff;
  border-radius: 4px;
  padding: 4px;
  display: flex;
  align-items: center;

  .draw-ctrl,
  .editor-ctrl {
    display: flex;
    gap: 4px;

    button {
      width: 28px;
      height: 28px;
      line-height: 28px;
      text-align: center;
      border-radius: 4px;
      color: #5e6772 !important;
    }
  }
}

.smap-note-location {
  display: flex;
  gap: 4px;

  .note-address,
  .location-error {
    font-size: 12px;
  }
}
